-- msg_reset_skill_result
-- Create by panyl
-- 重置英雄技能

return function(lpc)
    local classId = lpc.class_id;
    local skills = lpc.skills;

    if not ME.user.pets[classId] then
        return;
    end

    ME.user.pets[classId]:setSkills(skills);

    -- 抛一个事件
    EventMgr.fire(event.SET_SKILL_OPTION, skills)
end
